import request from '@/utils/request'

export default {
    // 获取仪表盘详情数据
    getDashboardDetail() {
        return request.get('/dashboard/detail')
    },

    // 获取各省份DNS安全统计数据
    getProvinceNum() {
        return request.get('/dashboard/provinceNum')
    },

    // 获取地图数据
    getMap() {
        return request.get('/dashboard/map')
    },

    // 获取错误趋势数据
    getErrorsTendency() {
        return request.get('/dashboard/errorsTendency')
    },

    // 获取协议趋势数据
    getProtocolsTendency() {
        return request.get('/dashboard/protocolsTendency')
    }
} 